﻿using System;
using System.Collections.Generic;
using System.Text;
using Rodunu.Movies.Contracts;

namespace Rodunu.Movies.Interfaces.Data
{
    public interface IStandardRepsitory<T> where T : IStandardIdentifier
    {
        void Create(T identifiable);
        T Find(int id);
        IList<T> FindByBase(IStandardIdentifier identifiable);
        IList<T> FindAll();
        void Delete(T identifiable);
        void Update(T identifiable);
    }
}
